package config

import "github.com/zeromicro/go-zero/rest"

type Config struct {
	rest.RestConf
	AllowOrigin string
	Auth        struct {
		AccessSecret string
		AccessExpire int64
	}
	DataConf struct {
		Host     string
		Port     int
		User     string
		Pass     string
		Database string
		ShowSql  bool
	}
	RedisConf struct {
		Host string
		Port int
		Pass string
	}
	RabbitConf struct {
		Username       string
		Password       string
		Host           string
		Port           int
		VHost          string
		Exchange       string
		ListenerQueues string
	}
	Platform string
}
